package com.maxlen.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.maxlen.common.utils.PageUtils;
import com.maxlen.common.vo.PageParamsVO;
import com.maxlen.ware.entity.PurchaseDetailEntity;
import com.maxlen.ware.entity.PurchaseEntity;
import com.maxlen.ware.entity.vo.PurchaseDoneVO;
import com.maxlen.ware.entity.vo.PurchaseMergeVO;

import java.util.List;

/**
 * 采购单
 *
 * @author MaxLen
 * @email MaxLen@gmail.com
 * @date 2022-10-27 11:02:35
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(PageParamsVO params);

    PageUtils getUnReceive(PageParamsVO params);

    void mergePurchase(PurchaseMergeVO purchaseMergeVO);

    void received(List<Long> ids);

    void finish(PurchaseDoneVO purchaseDoneVO);
}

